import { HardhatUserConfig } from "hardhat/config";
import "@nomicfoundation/hardhat-toolbox";
import * as dotenv from "dotenv";
dotenv.config();

const config: HardhatUserConfig = {
  solidity: "0.8.28",
  networks: {
    paperschain: {
      url: "https://rpc.paperschain.io", // Paperschain的RPC
      chainId: 408,
      accounts: [process.env.PRIVATE_KEY as string] // 用环境变量管理私钥更安全
    }
  }
};

export default config;
